/**CopyRight[1990-2012]<lyc2877@gmail.com>
 */
#ifndef MYIPCS_INCLUDE_MQUEUE_H_
#define MYIPCS_INCLUDE_MQUEUE_H_

#include "./Common.h"

class CMQueue {
  public:
    explicit CMQueue(int64_t in_lType);
    ~CMQueue();
    int32_t send_msg(TMsg* in_pTMsg);
    int32_t recv_msg(TMsg* in_pTMsg);
  private:
    int32_t m_nMsqid;
    int64_t m_lType;
};

#endif  // MYIPCS_INCLUDE_MQUEUE_H_
